Sable Research Group Component - Based Lock Allocation
نویسندگان
چکیده
The choice of lock objects in concurrent programs can affect both performance and correctness, a burden of complexity for programmers. Recently, various automated lock allocation and assignment techniques have been proposed, each aiming primarily to minimize the number of conflicts between critical sections. However, practical performance depends on a number of important factors, including the nature of concurrent interaction, the accuracy of the program analyses used to support the lock allocation, and the underlying machine hardware. We introduce component-based lock allocation, which starts by analysing data dependences and automatically assigns lock objects with tunable granularity to groups of interfering critical sections. Our experimental results show that while a single global lock is usually suboptimal, high accuracy in program analysis is not always necessary to achieve generally good performance. Our work provides empirical evidence as to sufficient strategies for efficient lock allocation, and details the requirements of an adaptable implementation.
منابع مشابه
Static Lock Allocation
The allocation of lock objects to critical sections in concurrent programs affects both performance and correctness. Traditionally, this allocation is done manually by the programmer. Recent work explores automatic lock allocation, aiming primarily to minimize conflicts and maximize parallelism by allocating locks to individual critical sections. We investigate several modes of lock allocation,...
متن کاملA A Scalable Lock Manager for Multicores
Modern implementations of DBMS software are intended to take advantage of high core counts that are becoming common in high-end servers. However, we have observed that several database platforms, including MySQL, Shore-MT, and a commercial system, exhibit throughput collapse as load increases into over-saturation (where there are more request threads than cores), even for a workload with little...
متن کاملTrophy Hunting and Sustainability: Temporal Dynamics in Trophy Quality and Harvesting Patterns of Wild Herbivores in a Tropical Semi-Arid Savanna Ecosystem
The selective nature of trophy hunting may cause changes in desirable phenotypic traits in harvested species. A decline in trophy size of preferred species may reduce hunting destination competitiveness thus compromising the sustainability of trophy hunting as a conservation tool. We explored the trophy quality and trends in harvesting patterns (i.e., 2004-2015) of Cape buffalo (Syncerus caffer...
متن کاملOptimized Lock Assignment and Allocation for Productivity: A Method for Exploiting Concurrency among Critical Sections
One of the major productivity issues in parallel programming arises from the use of lock/unlock operations or atomic/critical sections to enforce mutual exclusion. Not only are these constructs complicated to understand and debug, but they are also often an impediment to achieving scalable parallelism. In this paper, we propose to give the programmer the convenience of critical sections combine...
متن کاملIntegrated fate modeling for exposure assessment of produced water on the Sable Island Bank (Scotian shelf, Canada).
Produced water is the largest waste discharge from the production phase of oil and gas wells. Produced water is a mixture of reservoir formation water and production chemicals from the separation process. This creates a chemical mixture that has several components of toxic concern, ranging from heavy metals to soluble hydrocarbons. Analysis of potential environmental effects from produced water...
متن کامل